import request from '@/utils/request'

// 获取统计概览数据
export function getOverview() {
  return request({
    url: '/system/dashboard/overview',
    method: 'get'
  })
}

// 获取用户增长趋势
export function getUserTrend() {
  return request({
    url: '/system/dashboard/userTrend',
    method: 'get'
  })
}

// 获取视频增长趋势
export function getVideoTrend() {
  return request({
    url: '/system/dashboard/videoTrend',
    method: 'get'
  })
}

// 获取视频分类统计
export function getCategoryStats() {
  return request({
    url: '/system/dashboard/categoryStats',
    method: 'get'
  })
}

// 获取用户活跃度统计
export function getUserActivity() {
  return request({
    url: '/system/dashboard/userActivity',
    method: 'get'
  })
}
